/*
 * FollowupSample.java
 *
 * Created on April 17, 2007, 12:20 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Experience;

/**
 *
 * @author dmgreen
 */
public class FollowupSample extends BaseSample {
    
    private int myGlobalSampleID;
    private int myLocalSampleID;
    
    private int myPostGlucose;
    
    private byte[] mySampleImage;
    
    /** Creates a new instance of FollowupSample */
    public FollowupSample(int server_sample_id, int local_sample_id, int glucose, byte[] image_array) {
        super();
        
        /// this sets the glucose in the superclass
        myGlucose    = glucose;
        mySampleImage      = image_array;
        myGlobalSampleID   = server_sample_id;
        myLocalSampleID    = local_sample_id;
    }
    
    public byte[] getImage() {
        return mySampleImage;
    }
    
    public int getGlobalSampleID() {
        return myGlobalSampleID;
    }
    
    public int getLocalSampleID() {
        return myLocalSampleID;
    }
    
    public void setGlobalSampleID(int new_sample_id) {
        myGlobalSampleID = new_sample_id;
    }
    
    public void setPostGlucose(int post) {
        myPostGlucose = post;
    }
    
    public int getPostGlucose() {
        return myPostGlucose;
    }

    public String getType() {
        return "Followup";
    }
}
